package com.pug.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 * Author: taimi 37310
 * Version: 1.0
 * Create Date Time: 2022/2/25 20:08.
 * Update Date Time:
 *
 * @see
 */
@RestController
public class IndexController {

    @Value("${ksd.name}")
    private String name;


    @GetMapping(value = {"/","/index"})
    public String hello(){
        return "hello jenkins" + name;
    }
}
